//
//  FMLoginView.m
//  PsychologyFM
//
//  Created by 杜建虎 on 16/1/16.
//  Copyright © 2016年 ZhangLuDu. All rights reserved.
//

#import "FMLoginView.h"

@implementation FMLoginView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        _iconImage1 = [[UIImageView alloc] initWithFrame:CGRectMake(kScreenWidth / 20, 40, 20, 20)];
        [self addSubview:_iconImage1];
    
        _inputText = [[UITextField alloc] initWithFrame:CGRectMake(_iconImage1.left + 10 + _iconImage1.width, 40, kScreenWidth - kScreenWidth / 10, 20)];
        [self addSubview:_inputText];
        
        _lineLabel = [[UILabel alloc] initWithFrame:CGRectMake(_iconImage1.left, _inputText.bottom + 3, kScreenWidth - kScreenWidth / 10 , 1)];
        _lineLabel.backgroundColor = [UIColor orangeColor];
        [self addSubview:_lineLabel];
    }
    return self;
}

@end
